package jnpf.controller;

import jnpf.base.ActionResult;
import jnpf.model.actived.dto.ActivedDTO;
import jnpf.service.ActivedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/bt/Actived")
public class ActivedController {


    @Autowired
    private ActivedService activedService;

    @PostMapping("/actived")
    public ActionResult activedVerId(@RequestBody ActivedDTO activedDTO) {
        return ActionResult.success(activedService.activedVerId(activedDTO));
    }
}
